package com.rongda.deploy.operation.deploy.service;

import com.rongda.deploy.operation.deploy.pojo.ServerDeploy;

/**
 * Create By WeiBin on 2020/10/26 9:07
 * @author WB
 */
public interface DeployService {
    /**
     * 测试连接
     * @param serverDeploy 连接
     */
    boolean testConnect(ServerDeploy serverDeploy);

    /**
     * 执行命令
     * @param commend 命令
     */
    String executeCommend(String commend,ServerDeploy serverDeploy);
}
